home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
planetkit
/
win95
/
dscript
/
slip.scp
< prev
next >
Wrap
Text File
|
1995-07-11
|
932b
|
49 lines
;
; This is a script file that demonstrates how
; to establish a slip connection with a host.
;
; A script file must have a 'main' procedure.
; All script execution starts with this 'main'
; procedure.
;
; Main entry point to script
;
proc main
; Delay for 2 seconds first to make sure the
; host doesn't get confused when we send the
; two carriage-returns.
delay 2
transmit "^M^M"
; Wait for the login prompt before entering
; the user ID
waitfor "serid:"
transmit $USERID
transmit "^M"
; Enter the password
waitfor "assword?"
transmit $PASSWORD
transmit "^M"
waitfor "InternetLR/E>"
transmit "slip"
transmit "^M"
; An alternative to the following two lines is
;
; set ipaddr getip 2
;
; since we know that my address is the second one given.
waitfor "Your address is "
set ipaddr getip
endproc